package com.ihelp.service;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ihelp.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuZiMing
 * @since 2023-06-03
 */
public interface ArticleService extends IService<Article> {

    List<Article> getAllArticle();

    Article getArticleById(Integer id);
    List<Article> getArticleByDynamicConditions(Integer id,String fileName,Integer level,String time,String author);
    Integer createArticle(String fileName,Integer level,String time,String author);

}
